Position
Position context information for context handling. Includes information about the screen, mouse, and scoped context area. This scoped context initially is the same as screen context (i.e. x: 0, y: 0, w: screenW, h: screenH), but can be updated with proper scoped information as handling moved downstream. For example if handling moves to a widget, it can update xy and wh with it's xy position and width/height.
Author
fzzyhmstrs
Since
0.6.0
Parameters
ContextInput the type of input relevant to this context event
current mouse X position in pixels
current mouse Y position in pixels
scoped X position. Downstream handlers should update this with their scoped position as needed.
scoped Y position. Downstream handlers should update this with their scoped position as needed.
current screen width in pixels
current screen height in pixels